package cn.sherer.beans.weixin;

/**
 * 微信Token
 */
public class WxToken extends WxResult {
    private int expires_in;
    private String access_token;

    public WxToken() {
    }

    public WxToken(int errcode, String errmsg) {
        super(errcode, errmsg);
    }

    public int getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(int expires_in) {
        this.expires_in = expires_in;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    @Override
    public String toString() {
        return "WxToken{" + "errcode=" + this.getErrcode() + ", errmsg=" + this.getErrmsg() + ", expires_in=" + expires_in + ", access_token=" + access_token + "}";
    }
}
